package com.itmk.web.meteorological_station.mapper;

import com.itmk.web.meteorological_station.entity.EnvironmentalStation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface EnvironmentalStationMapper {
    List<EnvironmentalStation> findByVariableAndDate(@Param("variableName") String variableName,
                                                     @Param("startDate") Timestamp startDate,
                                                     @Param("endDate") Timestamp endDate);
}
